/**
 * @description Description
 *
 * @author Candy <candy.yan@motionglobal.com>
 * @date  Creation Date 2018/7/25
 */
import Vue from 'vue';
import Vuex from 'vuex';
import mutations from './mutations';
import actions from './action';


const state = {
  userInfo : null,
  logintime: '',
  cueMenuProps: {
    activeName: '',
    openNames: []
  },
  routeSubPage: '',
  curWaitToConfirmData: [],
  curWaitToShipData: [],
  createShipmentList: [],
  importShipmentFormData: {
    fullfillment: '',
    supplierCourier: '',
    dispatchDate: '',
    ETA: '',
    tracking: '',
    shippingFee: '$0',
    invoice: '',
    invoiceDate: '',
    invoiceAttachment: '',
    notes: ''
  }
}

Vue.use(Vuex);
export default new Vuex.Store({
  state,
  actions,
  mutations
})
